package com.allo2o.common.mapper;

import com.allo2o.common.domain.Token;
import org.springframework.stereotype.Repository;

@Repository
public interface TokenMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Token record);

    int insertSelective(Token record);

    Token selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Token record);

    int updateByPrimaryKey(Token record);

    Token selectByStaticToken(String staticToken);

    int saveOrUpdateToken(Token record);

    int deleteByMobile(String mobile);
}